<?php
$this->widget('application.extensions.gmap.GMap', array(
    'id' => 'gmap',//id of the <div> container created
    'key' => 'AIzaSyAHBliiSto1gdV1u3T3WbIvqVt539otbaw', //goole API key, should be obtained for each site,it's free
    'label' => 'some company', //text written in the text bubble
    'address' => array(
        'address' => '1600 Amphitheatre Pky',//address of the place
        'city' => 'Mountain View', //city
        'state' => 'CA'//state
        //'country' => 'USA' - country
        //'zip' => 'XXXXX' - zip or postal code
        )
));
?>

<div id="gmap"></div>
<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=AIzaSyAHBliiSto1gdV1u3T3WbIvqVt539otbaw" type="text/javascript"></script>
<!--<script src="/assets/f71433f3/gmap.js" type="text/javascript"></script>-->
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/scripts/gmap.js"></script>
<script language="javascript">

var GMAP_DEF_LAT = 54.863963;
var GMAP_DEF_LNG = 1.73584;
var GMAP_DEF_ZOOM = 7;
var m = new GMap("gmap", "1600+Amphitheatre+Pky,+Mountain+View,+CA", "some company");
m.show();
</script>